package com.akaovi.vehicle;

/**
 * @author akaovi
 * @version 1.0
 * @description
 * @date 2022/11/7 14:47
 * @since 2022/11/7 14:47
 */
public class Train extends Vehicle implements VehicleField {

    public Train() {
    }

    public Train(String name) {
        super(name);
    }

    @Override
    public int getTime() {
        return A * B + C;
    }
}
